<template>
	<view class="con pb30">
		
		<view v-for="(item,index) in list" :key="index" class="flex-ju-b pg20-30 ra30 bgfff posire mt20">
			<image mode="widthFix" src="/static/chengji.png" class="width92 posiab top0 left0"></image>
			<view class="color666 size24 flex-a-i mt55">
				<text class="colorFD2F55 size46 bold ml5 ">{{item.score}}</text>
			</view>
			<view class="size26">
				<view class="color999 flex-row flex mb25">{{item.testTime}}</view>
				<view >共{{item.correctCount+item.wrongCount}}题，答对{{item.correctCount}}题，答错{{item.wrongCount}}题</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list:[]
			}
		},
		onLoad() {
			this.http('/api/test_record/detail',{
				
			},'post').then(res=>{
				this.list = res.data.testRecordDos
			})
		},
		methods: {
			
		}
	}
</script>

<style>
page{
	background: #F3F5F7;
}
</style>
